package model.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="Queries")
public class Query implements Serializable  {
	private static final long serialVersionUID = -8767341896772261247L;
	
private String query=null;
private String age=null;
private String type=null;
private String description=null;


private long id;


@Column(name="age")
public String getAge() {
	return age;
}


public void setAge(String age) {
	this.age = age;
}



@Id
@GeneratedValue
@Column(name="id")
public long getId() {
	return id;
}
public void setId(long id) {
	this.id = id;
}

@Column(name="query")
public String getQuery() {
	return query;
}
public void setQuery(String query) {
	this.query = query;
}


@Column(name="type")
public String getType() {
	return type;
}
public void setType(String type) {
	this.type = type;
}
	
@Column(name="description")
public String getDescription() {
	return description;
}



public void setDescription(String description) {
	this.description = description;
}



}
